Repository navigation
Improve Rangefinder attributed documentation - #184
Closed
hamishwillee wants to merge 3 commits into
Closed
hamishwillee wants to merge 3 commits into
hamishwillee wants to merge 3 commits into
Conversation
hamishwillee
commented
Jul 8, 2015
Contributor
- Added vehicle.rangefinder attributed (only the class was documented). Updated class with units information and information about what happens if rangefinder not supported (returns None).
- Updated the vehicle_state example and example docs to report the rangefinder values. The example docs now link to information on setting up simulated rangefinder. I took the option to change the Vehicle variable name from "v" to "vehicle" (purely for consistency with other examples) and tidy up the introductory text.
- Updated the vehicle state guide to list the new attributes and show how they are obtained. I updated the section on using the observer to show how you can cache the value from the callback. I also made this behaviour sound less like a bug (Attribute observer callbacks are called with heartbeat until disabled - after first called #60).
… about setting up rangefinder on SITL
…ve the observer docs
This was referenced Jul 8, 2015
Closed
Merged
This was referenced Jul 8, 2015
Contributor
|
As I mentioned in #60, I think documenting the current behavior is the right way to go. I'll follow up by reviewing this PR. |
Contributor
|
Merged via #237. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.